package com.cn.wanxi.dao;

import com.cn.wanxi.model.UserModel;

import java.util.List;

public interface UserDao {
    UserModel findByUsernameAndPassword(UserModel userModel);

    List<UserModel> findAll(UserModel model);

    int getCount(UserModel model);

    int delete(UserModel model);

    int add(UserModel model);

    int updateSex(UserModel model);

    int updateEnable(UserModel model);

    UserModel findById(UserModel model);

    int update(UserModel userModel);
}
